package com.oocl.crm.command.receiver;

import com.oocl.crm.command.BaseReceiver;
import com.oocl.crm.exception.CrmException;

public class DeleteReceiver extends BaseReceiver {

	public DeleteReceiver(String[] commandSplit) {
		super(commandSplit);
	}

	@Override
	public String action() throws CrmException {
		service.removeCustomerById(commandSplit[1]);
		return "Delete success!";
	}

}
